package factory;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import job.JobImpl;
import job.JobItf;

public class FactoryImpl implements FactoryItf{

	private static final long serialVersionUID = 1L;

	@Override
	public JobItf creerJob(int id) throws RemoteException {
		return (JobItf) UnicastRemoteObject.exportObject(new JobImpl(id),0);	
	}
}
